-
Home
-
bad_ip WP
-
1.1.2 (latest)
-
Code
-
Classes
- Image
Total Complexity |
76 |
Dependencies |
6 |
Dependents |
5 |
Total lines |
505 |
Lines of code |
230 |
Logical lines of code |
148 |
Comment lines |
221 |
Methods |
27 |
Properties |
12 |
Methods 27
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
init() |
C |
38 |
25 |
64 |
get_image_info() |
A |
53 |
8 |
25 |
get_dimensions() |
S |
61 |
4 |
12 |
_maybe_secure_url() |
S |
68 |
4 |
6 |
src() |
S |
60 |
3 |
13 |
get_dimensions_loaded() |
S |
68 |
3 |
7 |
init_with_url() |
S |
68 |
2 |
7 |
parent() |
S |
72 |
2 |
6 |
link() |
S |
72 |
2 |
6 |
img_sizes() |
S |
73 |
2 |
5 |
__toString() |
S |
72 |
2 |
6 |
srcset() |
S |
73 |
2 |
5 |
wp_upload_dir() |
S |
69 |
2 |
7 |
get_post_custom() |
S |
70 |
2 |
7 |
width() |
S |
80 |
1 |
3 |
get_src() |
S |
76 |
1 |
4 |
is_image() |
S |
68 |
1 |
6 |
url() |
S |
76 |
1 |
4 |
__construct() |
S |
81 |
1 |
3 |
alt() |
S |
74 |
1 |
4 |
path() |
S |
80 |
1 |
3 |
height() |
S |
80 |
1 |
3 |
aspect() |
S |
73 |
1 |
5 |
init_with_file_path() |
S |
71 |
1 |
6 |
init_with_relative_path() |
S |
71 |
1 |
6 |
get_pathinfo() |
S |
80 |
1 |
3 |
get_url() |
S |
76 |
1 |
4 |